//
//  SISSJsonRequestNetworkingManager+Map.h
//  SISSAPP
//
//  Created by 优房网 on 2017/6/6.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSJsonRequestNetworkingManager.h"
#import "SISSMapAreaModel.h"
#import "SISSHouseEstateHomePageInfoModel.h"
#import "SISSMapSearchPnameModel.h"

@interface SISSJsonRequestNetworkingManager (Map)

/**
 2.10.1 地图筛选房源大区
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapHouseRegionResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *houseMapRegionArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.10.2 地图筛选客源大区
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapPassengerRegionResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *passengerMapRegionArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.10.3 地图筛选出租区域套数
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapRentOutRegionResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *rentOutMapRegionArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.10.4 地图筛选租客区域套数
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapTenantRegionResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *tenantMapRegionArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.11.1 地图筛选房源小区（街道办）
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapHouseRegionDetailResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *houseMapRegionDetailArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.11.2 地图筛选客源小区（街道办)
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapPassengerRegionDetailResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *passengerMapRegionDetailArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.11.3 地图筛选租客街道办套数（街道办)
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapRentOutRegionDetailResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *rentOutMapRegionDetailArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.11.4 地图筛选客源小区（街道办)
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapTenantRegionDetailResourceWithParameters:(NSDictionary *)parameters success:(void(^)(NSArray<SISSMapAreaModel *> *tenantMapRegionDetailArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.12.1 根据展示各级别地图上统计房价信息
 
 @param parameters 筛选参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterMapEvaluationStatisticsResourceWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.12.2 区域详情页展示 GET请求
 
 @param townNo 区域编号
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTownEvaluationDetailWithTownNo:(NSString *)townNo successBlock:(void(^)(SISSHouseEstateHomePageInfoModel *townDetailInfoModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 2.12.3 板块详情页展示 GET请求
 
 @param blockNo 板块编号
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestBlockEvaluationDetailWithBlockNo:(NSString *)blockNo successBlock:(void(^)(SISSHouseEstateHomePageInfoModel *blockDetailInfoModel))successBlock failed:(void(^)(NSError *error))failedBlock;


/**
 2.12.4 根据楼盘名模糊查询楼盘列表 GET请求
 
 @param keyWords 楼盘名称关键字
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFuzzyQueryPnameListWithKeyWords:(NSString *)keyWords successBlock:(void(^)(NSArray<SISSMapSearchPnameModel *> *pnameArr))successBlock failed:(void(^)(NSError *error))failedBlock;
@end
